package com.wxprogram.smallprogram.entity;

import java.util.List;

/**
 * 专业类型
 */
public class MajorType {
	/**专业类型名称*/
	private String majortype;
	/**一种专业类型有多个专业*/
	List<Major> majors;

	public String getMajortype() {
		return majortype;
	}

	public void setMajortype(String majortype) {
		this.majortype = majortype;
	}

	public List<Major> getMajors() {
		return majors;
	}

	public void setMajors(List<Major> majors) {
		this.majors = majors;
	}

	@Override
	public String toString() {
		return "MajorType{"
				+ "majortype='" + majortype + '\'' +
				"}";
	}

}
